import { createRequest } from '/@/api/service';
const module = 'ib/equipment/v1/AssetTypeApi/';
/**
 * 查询资产类型树
 */
function ASSET_TYPE_TREE_QUERY(
  data: object = {},
  header: object = {},
): Promise<AssetTypeApi.AssetTypeTreeQueryResp> {
  return createRequest(
    `${process.env.APP_API_URL}${module}queryAssetTypeTree`,
    data,
    header,
    'POST',
  );
}

export { ASSET_TYPE_TREE_QUERY };
